//当添加Icon样式的时候，需要更新index.html的iconfont样式。
const menuIcon = {
    home: 'icon-shujuguanli', //主页
    analysis: 'icon-shujufenxi', //数据分析
    intelligent: 'icon-ChatGPT-blue', //Ai答疑
    userManager: 'icon-yonghuzhongxin', //用户管理
    integralStore: 'icon-shangdian', // 积分商店
    dataManager:'icon-a-0_shujuguanli',
}

//供左侧导航栏使用，渲染导航栏
const menuRouter = [
    {name: '首页', url: '/home', iconFontClass: menuIcon.home},
    { name: '发布通知', url: '/notice' , iconFontClass: menuIcon.analysis},
    { name: '成绩查询', url: '/grades' , iconFontClass: menuIcon.intelligent},
    { name: '免测申请', url: '/exemption' , iconFontClass: menuIcon.integralStore},
    { name: '补考报名', url: '/makeup' , iconFontClass: menuIcon.dataManager},
    { name: '训练攻略', url: '/training' , iconFontClass: menuIcon.userManager},
    { name: '测试指南', url: '/testguide' , iconFontClass: menuIcon.analysis},
    { name: '意见反馈', url: '/feedback' , iconFontClass: menuIcon.dataManager},
]

export default menuRouter;
